Emmanuele Bassi [Thu, 12 Feb 2015 14:28:22 +0000 (14:28 +0000)]
gl: Add gdk_gl_context_get_version()
Store the OpenGL version when we first do the extensions check; this
allows client code to check the available GL version without requiring a
call to gdk_gl_context_make_current() and epoxy_gl_version().
Emmanuele Bassi [Thu, 12 Feb 2015 13:32:02 +0000 (13:32 +0000)]
docs: Specify the minimum version of GL provided by the core profile
When using GDK_GL_PROFILE_3_2_CORE, we are not only specifying that the
GDK should create a core profile; we are also specifying that the
minimum required version of OpenGL is set to 3.2.
We should also specify that the GDK_GL_PROFILE_DEFAULT profile is an
alias for GDK_GL_PROFILE_3_2_CORE.
Emmanuele Bassi [Thu, 12 Feb 2015 13:20:24 +0000 (13:20 +0000)]
glarea: Add accessors for the required GL version
Specifying the version of OpenGL is enough of a common operation that it
should not require overriding the creation of the GdkGLContext.
Emmanuele Bassi [Thu, 12 Feb 2015 13:19:21 +0000 (13:19 +0000)]
glarea: Update documentation
Drop the fixed pipeline example code.
https://bugzilla.gnome.org/show_bug.cgi?id=744394
Emmanuele Bassi [Thu, 12 Feb 2015 12:42:08 +0000 (12:42 +0000)]
glarea: Clean up the header
Emmanuele Bassi [Thu, 12 Feb 2015 12:40:03 +0000 (12:40 +0000)]
docs: Add missing GdkGLContext symbols
Emmanuele Bassi [Thu, 12 Feb 2015 12:34:28 +0000 (12:34 +0000)]
gl: Drop profile for gdk_window_create_gl_context()
Now that we have a two-stages GL context creation sequence, we can move
the profile to a pre-realize option, like the debug and forward
compatibility bits, or the GL version to use.
Lionel Landwerlin [Sat, 7 Feb 2015 20:05:18 +0000 (20:05 +0000)]
gtk: x: fix compilation without x11 backend
https://bugzilla.gnome.org/show_bug.cgi?id=744148
Bastien Nocera [Thu, 22 Jan 2015 14:13:10 +0000 (15:13 +0100)]
main: Make gtk_get_option_group() available to bindings
Now that GOptionGroup is registered as a boxed type [1], don't skip it
in gobject-introspection.
[1]: See https://bugzilla.gnome.org/show_bug.cgi?id=743349
https://bugzilla.gnome.org/show_bug.cgi?id=743350
Lars Uebernickel [Mon, 9 Feb 2015 10:49:31 +0000 (11:49 +0100)]
gtklistbox: add bind_model()
gtk_list_box_bind_model() binds a GListModel to a GtkListBox.
This is a first step towards having GListModel support in Gtk. It's not
useful for large models, because GtkListBox always creates all widgets
for all rows.
Timm Bäder [Tue, 10 Feb 2015 19:02:08 +0000 (20:02 +0100)]
GtkListBoxRow: Update the listbox's cursor row when focusing
https://bugzilla.gnome.org/show_bug.cgi?id=708320
Matthias Clasen [Thu, 12 Feb 2015 04:34:04 +0000 (23:34 -0500)]
file chooser: Allow opening folders in the file manager
This has been suggested in
https://bugzilla.gnome.org/show_bug.cgi?id=325150#c2
Armin K [Tue, 10 Feb 2015 23:06:38 +0000 (00:06 +0100)]
wayland: Implement minimize support
Use the existing xdg_surface API for minimization.
https://bugzilla.gnome.org/show_bug.cgi?id=695945
Marco Trevisan (Treviño) [Thu, 12 Feb 2015 02:34:05 +0000 (03:34 +0100)]
mir, gl: Ensure we use the 3.2 core profile
Emit an error if the profile is different.
Marco Trevisan (Treviño) [Thu, 12 Feb 2015 02:32:11 +0000 (03:32 +0100)]
mir: Switch GDK_GL_PROFILE_DEFAULT to mean 3_2_CORE
Instead of LEGACY.
Marco Trevisan (Treviño) [Thu, 12 Feb 2015 02:03:18 +0000 (03:03 +0100)]
mir, GL: Split GL context creation in two phases
Move egl_context initialization in gdk_gl_context_realize
• gdk_window_create_gl_context() creates a GdkGLContext
• gdk_gl_context_realize() creates the underlying resources
https://bugzilla.gnome.org/show_bug.cgi?id=741946
Marco Trevisan (Treviño) [Thu, 12 Feb 2015 01:20:24 +0000 (02:20 +0100)]
configure.ac: bump mirclient dependency to 0.11
Matthias Clasen [Wed, 11 Feb 2015 17:01:36 +0000 (12:01 -0500)]
Revert "image: Optimize non-resize changes"
This reverts commit
6276b9cda0b179e6a29b9002f82a338dc6f9649f.
This change was causing problems in gnome-mines. Revert it
until we can figure out what exactly is going wrong there.
See https://bugzilla.redhat.com/show_bug.cgi?id=
1190887
Kjartan Maraas [Wed, 11 Feb 2015 15:46:00 +0000 (16:46 +0100)]
Updated Norwegian bokmål translation.
Kjartan Maraas [Wed, 11 Feb 2015 15:37:34 +0000 (16:37 +0100)]
Updated Norwegian bokmål translation.
Matthias Clasen [Wed, 11 Feb 2015 01:15:58 +0000 (20:15 -0500)]
Bump glib requirement
Needed for g_autoptr.
Matthias Clasen [Tue, 10 Feb 2015 23:04:15 +0000 (18:04 -0500)]
Bump version
Benjamin Otte [Tue, 10 Feb 2015 22:49:15 +0000 (23:49 +0100)]
stylecontext: Don't use cache when unsaved
Fixes image-load-from-file reftest
Matthias Clasen [Tue, 10 Feb 2015 16:29:59 +0000 (11:29 -0500)]
Updates
Matthias Clasen [Sun, 8 Feb 2015 20:02:07 +0000 (21:02 +0100)]
Fix annotations
The function gtk_label_set_attributes() is also used to
unset attributes, by passing %NULL. Reflect that in the
argument annotations.
Emmanuele Bassi [Tue, 10 Feb 2015 10:16:53 +0000 (10:16 +0000)]
gl: Fix the required version setter
We don't allow a version tuple to be lower than (3, 2), but we should
allow versions above that.
https://bugzilla.gnome.org/show_bug.cgi?id=744212
Chun-wei Fan [Tue, 10 Feb 2015 08:20:37 +0000 (16:20 +0800)]
win32/gl: Ensure we use the 3.2 core profile
Emit an error if the profile is different.
This is a follow-up commit to commits
cc45e82 (x11/gl: Ensure we use the
3.2 core profile) and
2d9081d (wayland/gl: Ensure we use the 3.2 core
profile), so that we do the same on GDK-Win32. Update variable names and
comments so that the code is clearer to people, as we still need a
temporary legacy WGL context first before we can use
wglCreateContextAttribsARB() to create a WGL core (3.2+) context.
https://bugzilla.gnome.org/show_bug.cgi?id=741946
Emmanuele Bassi [Tue, 10 Feb 2015 03:33:02 +0000 (03:33 +0000)]
gl: Put shaders in static storage
We are not changing the shader code.
The compiler will hopefully put them in the .rodata section.
Niels Nesse [Tue, 10 Feb 2015 09:11:24 +0000 (01:11 -0800)]
gdkgl should use shader version 1.50
Using version 1.20 with a forward compatible 3.2 core context is incorrect
since OpenGL 3.2 deprecates shader version 1.20 (See section E.2). The latest
fglrx drivers will not compile these shaders.
https://bugzilla.gnome.org/show_bug.cgi?id=744203
Aurimas Černius [Mon, 9 Feb 2015 20:59:13 +0000 (22:59 +0200)]
Updated Lithuanian translation
Emmanuele Bassi [Mon, 9 Feb 2015 19:32:38 +0000 (19:32 +0000)]
demo: Change the resource path for the shaders
We need to use the same name as the "plugin" so that the main UI will
display the resources inside a notebook tab.
Emmanuele Bassi [Mon, 9 Feb 2015 19:09:31 +0000 (19:09 +0000)]
gl: Drop GdkGLContextClass.upload_texture()
It's unnecessary to allow per-backend overrides.
Emmanuele Bassi [Mon, 9 Feb 2015 16:27:44 +0000 (16:27 +0000)]
demo: Move the GLSL shaders to resources
It's easier to use them or modify them as separate files, instead of
inlined inside the C source.
https://bugzilla.gnome.org/show_bug.cgi?id=741946
Emmanuele Bassi [Mon, 9 Feb 2015 16:10:22 +0000 (16:10 +0000)]
gl: Clean up the required version accessors
We can simplify the code, since we only have core GL profiles in GDK.
https://bugzilla.gnome.org/show_bug.cgi?id=741946
Emmanuele Bassi [Mon, 9 Feb 2015 16:09:25 +0000 (16:09 +0000)]
docs: We do not support non-core GL profiles
No need to mention that some API only works on core GL profiles in the
GdkGLContext docs.
https://bugzilla.gnome.org/show_bug.cgi?id=741946
Emmanuele Bassi [Mon, 9 Feb 2015 16:08:43 +0000 (16:08 +0000)]
gl: Clean up pre-requisite checks for GdkGLContext setters
We don't support non-core profiles.
https://bugzilla.gnome.org/show_bug.cgi?id=741946
Emmanuele Bassi [Mon, 9 Feb 2015 15:56:18 +0000 (15:56 +0000)]
wayland/gl: Ensure we use the 3.2 core profile
Emit an error if the profile is different.
https://bugzilla.gnome.org/show_bug.cgi?id=741946
Emmanuele Bassi [Mon, 9 Feb 2015 15:55:08 +0000 (15:55 +0000)]
x11/gl: Ensure we use the 3.2 core profile
Drop the dead code for the legacy profile, and return an error when
realizing if the profile is incorrect.
https://bugzilla.gnome.org/show_bug.cgi?id=741946
Emmanuele Bassi [Thu, 5 Feb 2015 16:39:53 +0000 (16:39 +0000)]
demos: Update the GtkGLArea demo code
Same way we updated the testglarea test code.
https://bugzilla.gnome.org/show_bug.cgi?id=741946
Emmanuele Bassi [Fri, 30 Jan 2015 17:20:44 +0000 (17:20 +0000)]
tests: Update testglarea
Since we dropped the legacy OpenGL compatibility profile, we need to use
recent OpenGL APi and concepts. This also means that the example code
gets a tad more complicated.
https://bugzilla.gnome.org/show_bug.cgi?id=741946
Emmanuele Bassi [Thu, 5 Feb 2015 16:23:04 +0000 (16:23 +0000)]
gl: Add more debugging notes
https://bugzilla.gnome.org/show_bug.cgi?id=741946
Emmanuele Bassi [Wed, 28 Jan 2015 19:07:33 +0000 (19:07 +0000)]
glarea: Do not use extension API
We are using GL contexts with Core GL profiles, so we need to use the
proper API, not the one provided by extensions.
https://bugzilla.gnome.org/show_bug.cgi?id=741946
Emmanuele Bassi [Wed, 28 Jan 2015 19:06:37 +0000 (19:06 +0000)]
gl: Do not use the extension API for core GL
Since we are using a Core GL profile, we need to drop the
extension-based API.
https://bugzilla.gnome.org/show_bug.cgi?id=741946
Emmanuele Bassi [Wed, 28 Jan 2015 19:04:22 +0000 (19:04 +0000)]
gl: Drop OpenGL legacy profile
We simply don't want to care about legacy OpenGL.
All supported platforms also have support for OpenGL ≥ 3.2; it would
complicate the internal code; and would force us to use legacy GL
contexts internally if the first context created by the user is a legacy
GL context, and disable creation of core-3.2 contexts after that.
We will need to fix all our code examples to use the Core 3.2 profile.
https://bugzilla.gnome.org/show_bug.cgi?id=741946
Emmanuele Bassi [Wed, 28 Jan 2015 14:37:26 +0000 (14:37 +0000)]
gl: Move getters for context options to the public API
They can be useful for third party code as well.
https://bugzilla.gnome.org/show_bug.cgi?id=741946
Emmanuele Bassi [Wed, 28 Jan 2015 12:31:36 +0000 (12:31 +0000)]
Switch GDK_GL_PROFILE_DEFAULT to mean 3_2_CORE
Instead of LEGACY.
https://bugzilla.gnome.org/show_bug.cgi?id=741946
Chun-wei Fan [Fri, 30 Jan 2015 06:32:26 +0000 (14:32 +0800)]
win32/gl: Use the GdkGLContext options
https://bugzilla.gnome.org/show_bug.cgi?id=741946
Chun-wei Fan [Fri, 30 Jan 2015 05:53:31 +0000 (13:53 +0800)]
GDK-Win32: Split GL context creation in two phases
Like what is being done in the X11 and Wayland backends, create the
GdkWin32GLContext in 2 steps, where we only create the actual WGL context
in _gdk_win32_gl_context_realize().
https://bugzilla.gnome.org/show_bug.cgi?id=741946
Emmanuele Bassi [Wed, 28 Jan 2015 12:29:37 +0000 (12:29 +0000)]
wayland/gl: Use the GdkGLContext options
https://bugzilla.gnome.org/show_bug.cgi?id=741946
Emmanuele Bassi [Wed, 28 Jan 2015 09:40:34 +0000 (09:40 +0000)]
x11/gl: Use the GdkGLContext options
When creating an OpenGL context using the glXCreateContextAttribs()
function.
https://bugzilla.gnome.org/show_bug.cgi?id=741946
Emmanuele Bassi [Wed, 28 Jan 2015 09:34:16 +0000 (09:34 +0000)]
gl: Add context options
Users of the GdkGLContext API should be allowed to set properties on the
shim GdkGLContext instance prior to realization, so that the
backend-specific implementation can use the value of those properties
when creating the windowing system specific resources.
The main three options are:
• a major/minor version tuple, to request a specific GL version
• a debug bit, to request a "debug context", which provides additional
validation and run time checking
• a forward compatibility bit, to request a context that does not
have deprecated functionality
See also:
- https://www.opengl.org/registry/specs/ARB/glx_create_context.txt
https://bugzilla.gnome.org/show_bug.cgi?id=741946
Emmanuele Bassi [Tue, 27 Jan 2015 21:23:23 +0000 (21:23 +0000)]
GL: Split GL context creation in two phases
One of the major requests by OpenGL users has been the ability to
specify settings when creating a GL context, like the version to use
or whether the debug support should be enabled.
We have a couple of requirements in terms of API:
• avoid, if at all possible, the "C arrays of integers with
attribute, value pairs", which are hard to write and hard
to bind in non-C languages.
• allow failing in a recoverable way.
• do not make the GL context creation API a mess of arguments.
Looking at prior art, it seems that a common pattern is to split the
construction phase in two:
• a first phase that creates a GL context wrapper object and
does preliminary checks on the environment.
• a second phase that creates the backend-specific GL object.
We adopted a similar pattern:
• gdk_window_create_gl_context() creates a GdkGLContext
• gdk_gl_context_realize() creates the underlying resources
Calling gdk_gl_context_make_current() also realizes the context, so
simple GL users do not need to care. Advanced users will want to
call gdk_window_create_gl_context(), set up the optional requirements,
and then call gdk_gl_context_realize(). If either of these two steps
fails, it's possible to recover by changing the requirements, or simply
creating a new GdkGLContext instance.
https://bugzilla.gnome.org/show_bug.cgi?id=741946
Stas Solovey [Sun, 8 Feb 2015 22:14:05 +0000 (22:14 +0000)]
Updated Russian translation
Kjartan Maraas [Sun, 8 Feb 2015 18:34:46 +0000 (19:34 +0100)]
Updated Norwegian bokmål translation
Piotr Drąg [Sat, 7 Feb 2015 16:06:58 +0000 (17:06 +0100)]
Updated POTFILES.skip
Benjamin Otte [Sat, 31 Jan 2015 10:56:15 +0000 (11:56 +0100)]
css: Move scale to GtkStyleProviderPrivate
This way, we can remove it as a separate argument from
gtk_css_value_compute() and allow computation to only depend on one
thing: the style provider.
Benjamin Otte [Fri, 6 Feb 2015 09:13:11 +0000 (10:13 +0100)]
settings: Provide a default style cascade per scale
This guarantees we only create 1 extra style cascade in total for hidpi
and not one per style context.
Style cascades are now nested like this:
GtkSettings root cascade (scale == 1)
|
+-- GtkSettings per scale cascade (for any scale, no custom providers)
|
+-- GtkStyleContext custom cascade (for any scale, custom providers)
This requires a bunch of care when changing cascade-related properties
inside GtkStyleContext, so that it ends up with a properly setup
cascade, but I think I got those cases right.
The only thing we don't do yet is reverting to a GtkSettings cascade
when the last custom provider is removed from a custom cascade.
Benjamin Otte [Sat, 31 Jan 2015 10:01:25 +0000 (11:01 +0100)]
stylecontext: Store the scale value in the cascade
This is in preparation for the next commits.
Chun-wei Fan [Fri, 6 Feb 2015 05:00:21 +0000 (13:00 +0800)]
gdkglcontext-win32.h: Clean Up a Bit
We don't have a Win32-specific ->upload_texture() anymore, so don't
indicate so. Left out this part from my previous commit.
Chun-wei Fan [Fri, 6 Feb 2015 04:41:38 +0000 (12:41 +0800)]
GDK-Win32: Drop Win32-specific ->upload_texture()
The default ->upload_texture() works also for Windows since commit
27cf0fa,
as some of the problems described in 742953 also applied for GL core
contexts on Windows as well before
27cf0fa. Clean up the GDK-Win32 code a
little bit as a result.
Benjamin Otte [Fri, 6 Feb 2015 02:13:59 +0000 (03:13 +0100)]
treeview: Fix copy/paste bug
Introduced in
7eecb16404b9fdcd1377e1a159f5e94f079e24b7
Benjamin Otte [Thu, 5 Feb 2015 17:52:59 +0000 (18:52 +0100)]
css: Add -gtk-dpi CSS property hack
This property is necessary to ensure widgets automatically update after
the text scale factor is changed desktop-wide.
And if I'm already doing a property like this, I can make it
overridable. So now you can override the dpi per-widget with CSS like
GtkSwitch {
-gtk-dpi: 48;
}
if you want to debug things.
Long-term, we want to get rid of this property and insist on dpi being
96 everywhere and people can change the font size to get larger fonts.
Benjamin Otte [Sat, 24 Jan 2015 02:29:18 +0000 (03:29 +0100)]
treeview: Don't create an overly large pixel cache
GPUs generally have problems when you create a 35000px wide surface.
Luckily X catches this and sends a BadAlloc. Which GTK immediately
abort()s on.
Testcase included.
https://bugzilla.redhat.com/show_bug.cgi?id=
1163579
Benjamin Otte [Tue, 3 Feb 2015 07:06:39 +0000 (08:06 +0100)]
blur: Simplify return_if_fail()
William Hua [Wed, 4 Feb 2015 09:32:29 +0000 (10:32 +0100)]
mir: release surface before rendering parent
We should remove the mir and cairo surface before rendering the
transient_for, which will regenerate the cairo surface anyways.
Otherwise, we end up releasing both, when we only really want to get rid
of the mir surface.
William Hua [Tue, 3 Feb 2015 15:23:14 +0000 (16:23 +0100)]
mir: don't always request mir surfaces
Some child window behaviour is faked by painting in the parent, so we
don't bother creating the Mir surface in that case.
William Hua [Mon, 26 Jan 2015 23:29:07 +0000 (18:29 -0500)]
mir: reconstruct surface if window is moved
William Hua [Mon, 19 Jan 2015 17:08:43 +0000 (12:08 -0500)]
mir: stop using deprecated surface api
William Hua [Thu, 8 Jan 2015 05:24:42 +0000 (00:24 -0500)]
mir: fix issues with mouse over parent menu
Mouse over a parent menu[bar] didn't work while the menu was open.
The fix was to correct the behaviour of pointer crossing events so that
the pointer appears to be only inside one window at a time.
See: http://tronche.com/gui/x/xlib/events/window-entry-exit/normal.html
William Hua [Thu, 8 Jan 2015 05:23:02 +0000 (00:23 -0500)]
mir: add back window hierarchy functions
William Hua [Wed, 7 Jan 2015 17:18:03 +0000 (12:18 -0500)]
mir: stop forwarding motion events to subwindows
William Hua [Wed, 17 Dec 2014 17:37:28 +0000 (12:37 -0500)]
mir: generate leave events for transient children
Marco Trevisan (Treviño) [Fri, 12 Dec 2014 17:42:05 +0000 (18:42 +0100)]
mir: use monitor plug names more similar to the ones used in Xmir
Marco Trevisan (Treviño) [Fri, 12 Dec 2014 02:01:38 +0000 (03:01 +0100)]
mir: only paint background if window has one
Marco Trevisan (Treviño) [Fri, 12 Dec 2014 00:40:55 +0000 (01:40 +0100)]
mir: use old scrolling system if we get simple integer values
William Hua [Tue, 9 Dec 2014 13:57:21 +0000 (08:57 -0500)]
mir: end the current grab on ungrab
William Hua [Mon, 8 Dec 2014 21:24:17 +0000 (16:24 -0500)]
mir: only render non-top-level transients.
Marco Trevisan (Treviño) [Fri, 5 Dec 2014 14:53:03 +0000 (15:53 +0100)]
mir: handle new MirCloseSurfaceEvent
William Hua [Thu, 4 Dec 2014 15:03:40 +0000 (10:03 -0500)]
mir: reset cursor_inside on hide/withdraw
Without this, we generate incorrect crossing events for transient
windows.
William Hua [Wed, 3 Dec 2014 21:48:58 +0000 (16:48 -0500)]
mir: disable some debug output
William Hua [Wed, 3 Dec 2014 16:30:34 +0000 (11:30 -0500)]
mir: skip windows that aren't visible
Marco Trevisan (Treviño) [Tue, 2 Dec 2014 19:04:54 +0000 (20:04 +0100)]
mir: fix IsModifierKey definition
Marco Trevisan (Treviño) [Tue, 2 Dec 2014 17:43:32 +0000 (18:43 +0100)]
mir: check the log events env variable just once
Marco Trevisan (Treviño) [Tue, 2 Dec 2014 17:19:39 +0000 (18:19 +0100)]
mir: set event source device as well
William Hua [Tue, 2 Dec 2014 16:12:11 +0000 (11:12 -0500)]
mir: fix time conversion macro
Marco Trevisan (Treviño) [Tue, 2 Dec 2014 16:08:00 +0000 (17:08 +0100)]
mir: implement stub _gdk_mir_keymap_key_is_modifier
Using IsModifierKey for now
Marco Trevisan (Treviño) [Tue, 2 Dec 2014 15:52:03 +0000 (16:52 +0100)]
mir: check (using simple keycode checking) if we're handling a modifier key
Marco Trevisan (Treviño) [Tue, 2 Dec 2014 15:27:28 +0000 (16:27 +0100)]
mir: compute the modifiers using the saved button_state on key events
Marco Trevisan (Treviño) [Tue, 2 Dec 2014 15:25:18 +0000 (16:25 +0100)]
mir: add a NANO_TO_MILLI conversion macro
Marco Trevisan (Treviño) [Tue, 2 Dec 2014 15:06:59 +0000 (16:06 +0100)]
mir: properly converts mir nanoseconds timestamps to milliseconds
Marco Trevisan (Treviño) [Tue, 2 Dec 2014 14:18:50 +0000 (15:18 +0100)]
mir: use actual events time
William Hua [Mon, 1 Dec 2014 21:27:29 +0000 (16:27 -0500)]
mir: add timestamps to generated GdkEvents
We need this because it fixes menu activation. The menu activation code
looks at the time between events to determine if mouse clicks happen too
quickly.
William Hua [Mon, 1 Dec 2014 13:54:13 +0000 (08:54 -0500)]
mir: pass motion events down to transient children
William Hua [Fri, 28 Nov 2014 13:33:03 +0000 (08:33 -0500)]
mir: use parent_window's impl for GDK_INPUT_ONLY windows
Fixes a crash that occurs when the user selects text.
Carlos Garnacho [Thu, 5 Feb 2015 16:16:21 +0000 (17:16 +0100)]
scrolledwindow: Don't hover the scrollbars while a button is being pressed
This avoids showing the scrollbars if we are positive the child widget
is being manipulated, regardless of the pointer being close to any of these.
On the next motion event after finishing the operation, the scrollbar will
be shown if necessary.
https://bugzilla.gnome.org/show_bug.cgi?id=743894
Carlos Garnacho [Tue, 3 Feb 2015 11:03:22 +0000 (12:03 +0100)]
popover: Unset the grab when the popover loses its parent
This ensures the grab and signal handlers are removed if the parent goes
NULL.
Carlos Garnacho [Mon, 2 Feb 2015 15:13:30 +0000 (16:13 +0100)]
window: Unparent popover before unmapping/unrealizing
Otherwise spurious invariants warnings may happen before the popover
is removed from the window.
Carlos Garnacho [Mon, 2 Feb 2015 14:34:17 +0000 (15:34 +0100)]
window: call gtk_widget_unmap() on popover widgets unconditionally
is_visible() wasn't the right check to perform here before unmapping,
and gtk_widget_unmap() already avoids being doubly called by checking
gtk_widget_get_mapped() anyway.
Carlos Garnacho [Thu, 5 Feb 2015 13:17:51 +0000 (14:17 +0100)]
popover: Keep a ref on the parent scrollable
This ensures the scrollable is still alive on dispose(), and properly unset
after disconnecting all signal handlers.
Matthias Clasen [Thu, 5 Feb 2015 09:42:57 +0000 (10:42 +0100)]
GtkStatusIcon: Expand deprecation docs
https://bugzilla.gnome.org/show_bug.cgi?id=743975